3.14.59 \(\int \frac {1}{x^7 (1-x^6)} \, dx\) [1359]

Optimal. Leaf size=22 \[ -\frac {1}{6 x^6}+\log (x)-\frac {1}{6} \log \left (1-x^6\right ) \]

[Out]

-1/6/x^6+ln(x)-1/6*ln(-x^6+1)

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 22, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {272, 46} \begin {gather*} -\frac {1}{6 x^6}-\frac {1}{6} \log \left (1-x^6\right )+\log (x) \end {gather*}

Antiderivative was successfully verified.

[In]

Int[1/(x^7*(1 - x^6)),x]

[Out]

-1/6*1/x^6 + Log[x] - Log[1 - x^6]/6

Rule 46

Int[((a_) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d*x
)^n, x], x] /; FreeQ[{a, b, c, d}, x] && NeQ[b*c - a*d, 0] && ILtQ[m, 0] && IntegerQ[n] &&  !(IGtQ[n, 0] && Lt
Q[m + n + 2, 0])

Rule 272

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[1/n, Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(a
+ b*x)^p, x], x, x^n], x] /; FreeQ[{a, b, m, n, p}, x] && IntegerQ[Simplify[(m + 1)/n]]

Rubi steps

\begin {align*} \int \frac {1}{x^7 \left (1-x^6\right )} \, dx &=\frac {1}{6} \text {Subst}\left (\int \frac {1}{(1-x) x^2} \, dx,x,x^6\right )\\ &=\frac {1}{6} \text {Subst}\left (\int \left (\frac {1}{1-x}+\frac {1}{x^2}+\frac {1}{x}\right ) \, dx,x,x^6\right )\\ &=-\frac {1}{6 x^6}+\log (x)-\frac {1}{6} \log \left (1-x^6\right )\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.00, size = 22, normalized size = 1.00 \begin {gather*} -\frac {1}{6 x^6}+\log (x)-\frac {1}{6} \log \left (1-x^6\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[1/(x^7*(1 - x^6)),x]

[Out]

-1/6*1/x^6 + Log[x] - Log[1 - x^6]/6

________________________________________________________________________________________

Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(40\) vs. \(2(18)=36\).
time = 0.19, size = 41, normalized size = 1.86

method result size
risch \(-\frac {1}{6 x^{6}}+\ln \left (x \right )-\frac {\ln \left (x^{6}-1\right )}{6}\) \(17\)
meijerg \(-\frac {\ln \left (-x^{6}+1\right )}{6}+\ln \left (x \right )+\frac {i \pi }{6}-\frac {1}{6 x^{6}}\) \(23\)
default \(-\frac {\ln \left (x +1\right )}{6}-\frac {\ln \left (x^{2}+x +1\right )}{6}-\frac {\ln \left (x -1\right )}{6}-\frac {1}{6 x^{6}}+\ln \left (x \right )-\frac {\ln \left (x^{2}-x +1\right )}{6}\) \(41\)
norman \(-\frac {\ln \left (x +1\right )}{6}-\frac {\ln \left (x^{2}+x +1\right )}{6}-\frac {\ln \left (x -1\right )}{6}-\frac {1}{6 x^{6}}+\ln \left (x \right )-\frac {\ln \left (x^{2}-x +1\right )}{6}\) \(41\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/x^7/(-x^6+1),x,method=_RETURNVERBOSE)

[Out]

-1/6*ln(x+1)-1/6*ln(x^2+x+1)-1/6*ln(x-1)-1/6/x^6+ln(x)-1/6*ln(x^2-x+1)

________________________________________________________________________________________

Maxima [A]
time = 0.29, size = 20, normalized size = 0.91 \begin {gather*} -\frac {1}{6 \, x^{6}} - \frac {1}{6} \, \log \left (x^{6} - 1\right ) + \frac {1}{6} \, \log \left (x^{6}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x^7/(-x^6+1),x, algorithm="maxima")

[Out]

-1/6/x^6 - 1/6*log(x^6 - 1) + 1/6*log(x^6)

________________________________________________________________________________________

Fricas [A]
time = 0.37, size = 24, normalized size = 1.09 \begin {gather*} -\frac {x^{6} \log \left (x^{6} - 1\right ) - 6 \, x^{6} \log \left (x\right ) + 1}{6 \, x^{6}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x^7/(-x^6+1),x, algorithm="fricas")

[Out]

-1/6*(x^6*log(x^6 - 1) - 6*x^6*log(x) + 1)/x^6

________________________________________________________________________________________

Sympy [A]
time = 0.05, size = 17, normalized size = 0.77 \begin {gather*} \log {\left (x \right )} - \frac {\log {\left (x^{6} - 1 \right )}}{6} - \frac {1}{6 x^{6}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x**7/(-x**6+1),x)

[Out]

log(x) - log(x**6 - 1)/6 - 1/(6*x**6)

________________________________________________________________________________________

Giac [A]
time = 1.22, size = 26, normalized size = 1.18 \begin {gather*} -\frac {x^{6} + 1}{6 \, x^{6}} + \frac {1}{6} \, \log \left (x^{6}\right ) - \frac {1}{6} \, \log \left ({\left | x^{6} - 1 \right |}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x^7/(-x^6+1),x, algorithm="giac")

[Out]

-1/6*(x^6 + 1)/x^6 + 1/6*log(x^6) - 1/6*log(abs(x^6 - 1))

________________________________________________________________________________________

Mupad [B]
time = 1.02, size = 16, normalized size = 0.73 \begin {gather*} \ln \left (x\right )-\frac {\ln \left (x^6-1\right )}{6}-\frac {1}{6\,x^6} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-1/(x^7*(x^6 - 1)),x)

[Out]

log(x) - log(x^6 - 1)/6 - 1/(6*x^6)

________________________________________________________________________________________